package com.hjx.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * (SysDepartmentUser)实体类
 *
 * @author makejava
 * @since 2020-06-09 08:07:17
 */
public class SysDepartmentUser implements Serializable {
    private static final long serialVersionUID = 515240307370428861L;
    /**
    * 部门用户编号
    */
    private String duId;
    /**
    * 部门编号
    */
    private SysDepartment department = new SysDepartment();
    /**
    * 部门所属用户的编号
    */
    private List<SysUser> users = new ArrayList<>();


    public String getDuId() {
        return duId;
    }

    public SysDepartmentUser setDuId(String duId) {
        this.duId = duId;
        return this;
    }

    public SysDepartment getDepartment() {
        return department;
    }

    public SysDepartmentUser setDepartment(SysDepartment department) {
        this.department = department;
        return this;
    }

    public List<SysUser> getUsers() {
        return users;
    }

    public SysDepartmentUser setUsers(List<SysUser> users) {
        this.users = users;
        return this;
    }
}
